<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class ReissueTitleInsuranceCost{
    private $normalPolicyCost;
    private $discountCost;
    private $titleServicesCost;
    private $netPolicyCost;

    /**
     * This is used to support GWT serialization, do not use this constructor for other purposes.
     */

    public function ReissueTitleInsuranceCost($normalPolicyCost, $discountCost, $titleServicesCost) {
        $this->normalPolicyCost = $normalPolicyCost;
        $this->discountCost = $discountCost;
        $this->titleServicesCost = $titleServicesCost;
        $this->netPolicyCost = $normalPolicyCost->getRefinanceCost() - $discountCost;
    }

    public function getNormalPolicyCost() {
        return $this->normalPolicyCost;
    }

    public function getDiscountCost() {
        return $this->discountCost;
    }

    public function getNetPolicyCost() {
        return $this->netPolicyCost;
    }

    public function getTitleServicesCost() {
        return $this->titleServicesCost;
    }
}
?>
